package com.wen.common.pojo.account;

import com.baomidou.mybatisplus.annotation.*;
import com.wen.common.pojo.system.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 栏目实体
 */
@TableName("cms_category")
@EqualsAndHashCode(callSuper = true)
@Data
public class Category extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;


     // 栏目名称
    private String categoryTitle;
     // 所属栏目
    @TableField(insertStrategy = FieldStrategy.NOT_EMPTY, updateStrategy = FieldStrategy.NOT_EMPTY, whereStrategy = FieldStrategy.NOT_EMPTY)
    private String parentId;
    // 栏目描述
    private String categoryDescription;
    // 栏目关键字
    private String categoryKeyword;
}
